package com.general.template.service;

import com.general.template.pojo.PowerUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.general.template.utils.Pages;
import com.general.template.vo.UserVo;

import java.util.List;
import java.util.Map;

/**
 * @Author: 杰哥
 * Date: 2021/2/15 16:52
 * @Description:
 **/

public interface PowerUserService extends IService<PowerUser> {

    int addUser(PowerUser user);

    int updateUser(PowerUser user);

    int updateStatus(Integer id,Integer status);

    Map<String, Long> addList(List<PowerUser> list);

    Pages<PowerUser> pageList(Pages<PowerUser> pages);

    int updatePwd(UserVo user);
}


